package com.ctshk.rpc.air.entity.es;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *     查詢預訂返回結果列表
 * </p>
 * @author lihang
 * @since 2021-03-25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class AirBookingListTouristEs implements Serializable {
    private static final long serialVersionUID = 1715864900988111274L;

    @Field(type = FieldType.Long)
    @ApiModelProperty(value = "旅客类型id")
    private Long touristTypeId;

    @Field(type = FieldType.Text)
    @ApiModelProperty(value = "旅客类型名称")
    private String touristTypeName;

    @Field(type = FieldType.Double)
    @ApiModelProperty(value = "成本价")
    private BigDecimal costPrice;

    @Field(type = FieldType.Auto,name = "airProductCostTaxation")
    @ApiModelProperty(value = "稅費信息")
    private List<AirProductCostTaxationEs> airProductCostTaxationDTOList;

}
